const connection = require('../db/index')

const roleList = (data) => {
    return new Promise((resolve, reject) => {
        resolve({
            code: 200,
            msg: "获取成功",
            data: [
                {
                    id: "0",
                    roleKey: "admin",
                    roleName: "超级管理员",
                    status: "0",
                    roleSort: 0,
                },
                {
                    id: "1",
                    roleKey: "common",
                    roleName: "普通角色",
                    status: "0",
                    roleSort: 1,
                },
            ]
        });
    })
}


module.exports = {
    roleList
}